home *** CD-ROM | disk | FTP | other *** search
/ SGI Hot Mix 14 / Hot Mix 14.iso / HTML / vendors / finesse / examples / sh / option_menu < prev    next >
Text File  |  1996-06-27  |  455b  |  18 lines

  1. #! /bin/sh
  2. # FINESSEAPPLICATIONKEY sKITlXOqcCVmU
  3.  
  4. . ${FINESSEPATH-/usr/local/finesse}/fsshinit   # (1)
  5. windef="                                        
  6. FsWindow      -title 'Option Menu' -btype o;
  7. FsSeparator;
  8. FsOptionMenu  -label Options:
  9. -items 'One Two Three'         # Choices
  10. -var option=Three;
  11. FsSeparator;"                                  # (2)
  12.  
  13. Fsopen
  14. Fsdisplay -m "Select Option:" -w "$windef"     # (3)
  15. Fsclose
  16.  
  17. echo "Option selected: $option"
  18.